package com.daimakuai.controller;

import com.daimakuai.dao.AdminDao;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author happyonion.yangtao
 * @Title: AdminController
 * @ProjectName adminb-ehind
 * @PackageName com.daimakuai.controller
 * @Description TODO
 * @date Create at 2018/11/29 22:44
 */
@Controller
@RequestMapping("/Admin")
public class AdminController {

    @RequestMapping("/addAdmin")
    public String addAdmin(){
    		return "index";
    }

    @RequestMapping("delAdmin")
    @ResponseBody
    public void delAdmin(){

    }

    public void updateAdmin(){

    }

    public AdminDao getAdminById(String id){
        return  null;
    }
}
